﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Chinaer.Model.Entities
{
    [Table("MenuDetailImages")]
    public class Model_MenuDetailImage:Model_Base
    {
        /// <summary>
        /// 菜单明细图片编号
        /// </summary>
        [Column("ID")]
        [Key]
        [Required]
        public string ID { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public string ImageUrl { get; set; }
        /// <summary>
        /// 所属的菜单明细
        /// </summary>
        public string MenuDetailID { get; set; }
        /// <summary>
        /// 图片大小
        /// </summary>
        public double ImageSize { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public double Order { get; set; }
    }
}
